package com.hongning.railway.entity.resbean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

public class ResExperienceBean {


    /**
     * pageNum : 1
     * selectResult : [{"createdate":1567728000000,"experiencecontent":"<p>fadf<\/p>","experiencetitle":"11","id":"20190906195436825713","month":"09","userid":"admin"}]
     * total : 1
     */

    private int pageNum;
    private String total;
    private List<SelectResultBean> selectResult;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public List<SelectResultBean> getSelectResult() {
        return selectResult;
    }

    public void setSelectResult(List<SelectResultBean> selectResult) {
        this.selectResult = selectResult;
    }

    public static class SelectResultBean implements Parcelable {
        /**
         * createdate : 1567728000000
         * experiencecontent : <p>fadf</p>
         * experiencetitle : 11
         * id : 20190906195436825713
         * month : 09
         * userid : admin
         */

        private long createdate;
        private String experiencecontent;
        private String experiencetitle;
        private String id;
        private String month;
        private String userid;

        public long getCreatedate() {
            return createdate;
        }

        public void setCreatedate(long createdate) {
            this.createdate = createdate;
        }

        public String getExperiencecontent() {
            return experiencecontent;
        }

        public void setExperiencecontent(String experiencecontent) {
            this.experiencecontent = experiencecontent;
        }

        public String getExperiencetitle() {
            return experiencetitle;
        }

        public void setExperiencetitle(String experiencetitle) {
            this.experiencetitle = experiencetitle;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMonth() {
            return month;
        }

        public void setMonth(String month) {
            this.month = month;
        }

        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeLong(this.createdate);
            dest.writeString(this.experiencecontent);
            dest.writeString(this.experiencetitle);
            dest.writeString(this.id);
            dest.writeString(this.month);
            dest.writeString(this.userid);
        }

        public SelectResultBean() {
        }

        protected SelectResultBean(Parcel in) {
            this.createdate = in.readLong();
            this.experiencecontent = in.readString();
            this.experiencetitle = in.readString();
            this.id = in.readString();
            this.month = in.readString();
            this.userid = in.readString();
        }

        public static final Parcelable.Creator<SelectResultBean> CREATOR = new Parcelable.Creator<SelectResultBean>() {
            @Override
            public SelectResultBean createFromParcel(Parcel source) {
                return new SelectResultBean(source);
            }

            @Override
            public SelectResultBean[] newArray(int size) {
                return new SelectResultBean[size];
            }
        };
    }
}
